Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Converting Points from Cartesian to Polar or Spherical Form


Q3SphericalPoint_ToPoint3D

You can use the Q3SphericalPoint_ToPoint3D function to convert a spherical point to Cartesian form.

TQ3Point3D *Q3SphericalPoint_ToPoint3D (
const TQ3SphericalPoint *sphericalPoint, 
TQ3Point3D *result);
sphericalPoint
A spherical point.
result
On exit, a three-dimensional point.
DESCRIPTION
The Q3SphericalPoint_ToPoint3D function returns, as its function result and in the result parameter, the three-dimensional point that is the same point as the spherical point specified by the sphericalPoint parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996